package com.pl.shiro;


import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Set;

/**
 * @author shent
 */
@Mapper
@Repository("UserMapperShiro")
public interface UserMapper {
    User getByUsername(String username);

    Set<String> getRolesByUsername(String username);

    Set<String> getPermissionsByUsername(String username);
}
